package com.youlu.campus.web.university.entity;

import lombok.Data;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * 数据字典实体类
 */
@Data
@Document(collection = "dictionary")
public class DictionaryInfo{

    @Id
    private String id;
    /**
     *
     */
    private String name;
    /**
     * 1专业 2兴趣标签
     */
    private Integer type;
    /**
     * 创建时间
     */
    @CreatedDate
    private Date createdTime;
}
